home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / MIPTemplate_Print_8374.PspSc < prev    next >
Encoding:
Text File  |  2003-04-22  |  4.1 KB  |  124 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 600, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.5,11), 
  37.         'TemplateCategory': r'Avery', 
  38.         'Template': [{
  39.             'CellPosition': (0.8175,0.5675), 
  40.             'CellSize': (3.365,1.865), 
  41.             'ImagePlacement': 2, 
  42.             'ImagePath': r'', 
  43.             'RotationAngle': 0, 
  44.             'ImagePosition': (0,0), 
  45.             'ImageSize': (0,0)
  46.             },{
  47.             'CellPosition': (0.8175,2.5675), 
  48.             'CellSize': (3.365,1.865), 
  49.             'ImagePlacement': 2, 
  50.             'ImagePath': r'', 
  51.             'RotationAngle': 0, 
  52.             'ImagePosition': (0,0), 
  53.             'ImageSize': (0,0)
  54.             },{
  55.             'CellPosition': (0.8175,4.5675), 
  56.             'CellSize': (3.365,1.865), 
  57.             'ImagePlacement': 2, 
  58.             'ImagePath': r'', 
  59.             'RotationAngle': 0, 
  60.             'ImagePosition': (0,0), 
  61.             'ImageSize': (0,0)
  62.             },{
  63.             'CellPosition': (0.8175,6.5675), 
  64.             'CellSize': (3.365,1.865), 
  65.             'ImagePlacement': 2, 
  66.             'ImagePath': r'', 
  67.             'RotationAngle': 0, 
  68.             'ImagePosition': (0,0), 
  69.             'ImageSize': (0,0)
  70.             },{
  71.             'CellPosition': (0.8175,8.5675), 
  72.             'CellSize': (3.365,1.865), 
  73.             'ImagePlacement': 2, 
  74.             'ImagePath': r'', 
  75.             'RotationAngle': 0, 
  76.             'ImagePosition': (0,0), 
  77.             'ImageSize': (0,0)
  78.             },{
  79.             'CellPosition': (4.3175,0.5675), 
  80.             'CellSize': (3.365,1.865), 
  81.             'ImagePlacement': 2, 
  82.             'ImagePath': r'', 
  83.             'RotationAngle': 0, 
  84.             'ImagePosition': (0,0), 
  85.             'ImageSize': (0,0)
  86.             },{
  87.             'CellPosition': (4.3175,2.5675), 
  88.             'CellSize': (3.365,1.865), 
  89.             'ImagePlacement': 2, 
  90.             'ImagePath': r'', 
  91.             'RotationAngle': 0, 
  92.             'ImagePosition': (0,0), 
  93.             'ImageSize': (0,0)
  94.             },{
  95.             'CellPosition': (4.3175,4.5675), 
  96.             'CellSize': (3.365,1.865), 
  97.             'ImagePlacement': 2, 
  98.             'ImagePath': r'', 
  99.             'RotationAngle': 0, 
  100.             'ImagePosition': (0,0), 
  101.             'ImageSize': (0,0)
  102.             },{
  103.             'CellPosition': (4.3175,6.5675), 
  104.             'CellSize': (3.365,1.865), 
  105.             'ImagePlacement': 2, 
  106.             'ImagePath': r'', 
  107.             'RotationAngle': 0, 
  108.             'ImagePosition': (0,0), 
  109.             'ImageSize': (0,0)
  110.             },{
  111.             'CellPosition': (4.3175,8.5675), 
  112.             'CellSize': (3.365,1.865), 
  113.             'ImagePlacement': 2, 
  114.             'ImagePath': r'', 
  115.             'RotationAngle': 0, 
  116.             'ImagePosition': (0,0), 
  117.             'ImageSize': (0,0)
  118.             }]
  119.         }
  120.  
  121. def Do(Environment):
  122.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  123.  
  124.